package com.cn.redis.utils;

import com.cn.redis.properties.CommonProperties;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service("com.cn.redis.utils.Bootstrap")
public class a {
    @Resource(
            name = "com.cn.redis.client.ServerNodeManager"
    )
    private com.cn.redis.client.a N;
    @Resource(
            name = "com.cn.redis.properties.cp"
    )
    CommonProperties commonProperties;

    public a() {
    }

    public void start(String seqName) {
        this.N.init(seqName);
    }

    public long a(String seqName, int step) {
        return this.N.a(seqName, step);
    }
}
